package cn.yunyichina.provider.pay.pacity.constant;

/**
 * Created by Lullaby on 2017/6/15.
 */
public enum  ResponseEnum implements cn.yunyichina.provider.framework.common.ResponseEnum {

    PACITY_INVALID_SIGN("21000", "平安签名验证失败"),
    PACITY_ACCESS_TOKEN_FAILURE("21001", "平安付获取ACCESS_TOKEN失败"),
    PACITY_ACCESS_TOKEN_EXCEPTION("21002", "平安付获取ACCESS_TOKEN异常"),
    PACITY_USER_INFO_FAILURE("21003", "平安付获取用户信息异常"),
    PACITY_USER_INFO_EXCEPTION("21004", "平安付获取用户信息异常"),
    PACITY_PAY_EXCEPTION("21005", "平安付支付异常"),
    PACITY_REFUND_EXCEPTION("21006", "平安付退费异常"),
    ;

    private String code;

    private String message;

    ResponseEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }

}
